<template>
    <van-swipe class="my-swipe" :autoplay="3000" indicator-color="white">
      <slot></slot>
    </van-swipe>
</template>

<script>
import Vue from 'vue'
import { Swipe, SwipeItem } from 'vant'

Vue.use(Swipe)
Vue.use(SwipeItem)
export default {
}
</script>
<style>
.my-swipe .van-swipe-item {
  width: 100%;
  color: #fff;
  font-size: 20px;
  line-height: 70px;
  text-align: center;
  background: #F5F5F5;
  height: 360px;
}
</style>
